Skip to content

CV-HW-2

Given an image, filter the image with cross-correlation and convolution, respectively.

Cross-correlation:

122345
234567
334456
456789

Filter:

121
000
-1-2-1

Result:

-6-65-4
-8-8-8-8

Convolution:

122345
234567
334456
456789

Filter:

121
000
-1-2-1

Result:

66-54
8888